package org.jcut.dao;

import java.util.List;

import org.jcut.bean.Shopcar;
import org.springframework.stereotype.Repository;

@Repository
public interface IShopcar {
    int deleteByPrimaryKey(String id);

    int insert(Shopcar record);


    List<Shopcar> selectByUid(String id);


    int updateByPrimaryKey(Shopcar record);
    
    long UserSum(String uId);
    
    int addNum(Shopcar shopcar);
    
    long getNum(Shopcar shopcar);
    
    int cutNum(Shopcar shopcar);
    
    List<Shopcar> selectPostIn(List<Object> item);
}